#ifndef PAGELIGHTSETTING_H
#define PAGELIGHTSETTING_H

#include <QWidget>
#include "global_def.h"

namespace Ui {
class PageLightSetting;
}

class PageLightSetting : public QWidget
{
    Q_OBJECT

public:
    explicit PageLightSetting(QWidget *parent = nullptr);
    ~PageLightSetting();
private:
    Ui::PageLightSetting *ui;
    void setLight(int val);
private slots:
    void AddButtonClicked();
    void SubButtonClicked();
    void manulButtonClicked();
    void AutoButtonClicked();
signals:
    void SetBackLightValue(int);
};

#endif // PAGELIGHTSETTING_H
